home *** CD-ROM | disk | FTP | other *** search
/ CAD Tools / CAD Tools.iso / programs / cad009.exe / R12C3FIX.BAT < prev    next >
DOS Batch File  |  1994-04-06  |  3KB  |  98 lines

  1. @echo off
  2.  
  3. rem Patches .\acad.exe
  4. patch /nop /nos %1\c1-c3his
  5. if errorlevel 1 goto perror
  6.  
  7. rem PKSFX (self-extracting file) containing: .\*.xmx
  8. rem                                          .\acad.dll
  9. rem                                          .\acad3.dll
  10. rem If you patch .\acad.exe to level c3, you must also
  11. rem extract these files to run acad.
  12. %1\acadwin1 -d -o
  13. if errorlevel 1 goto perror
  14.  
  15. rem PKSFX (self-extracting file) containing: .\ddebas.exe
  16. rem                                          other .\*.dll
  17. %1\acadwin2 -d -o
  18. if errorlevel 1 goto perror
  19.  
  20. :isdisk2
  21. if exist %1\update2.mid goto disk2
  22. echo.
  23. echo Insert Disk 2 and  
  24. pause
  25. goto isdisk2
  26. :disk2
  27.  
  28. rem Patches other .\*.dll, other .\*.exe
  29. rem If you patch .\acad.exe to level c3, you must 
  30. rem also patch these files to run acad.
  31. patch /i /nop %1\acadwin2
  32. if errorlevel 1 goto perror
  33.  
  34. rem Patches .\ads\*.lib, .\ase\*.lib, .\fonts\*.pfm
  35. patch /i /nop %1\adsasef
  36. if errorlevel 1 goto perror
  37.  
  38. rem PKSFX (self-extracting file) containing: other .\*.exe
  39. rem                                          .\readme.*
  40. rem                                          .\support\*.dcl
  41. rem                                          some .\support\*.lsp
  42. rem                                          .\sample\*.lsp
  43. rem                                          .\fonts\*.shp
  44. %1\acadwin3 -d -o
  45. if errorlevel 1 goto perror
  46.  
  47. :isdisk3
  48. if exist %1\update3.mid goto disk3
  49. echo.
  50. echo Insert Disk 3 and  
  51. pause
  52. goto isdisk3
  53. :disk3
  54.  
  55. rem PKSFX (self-extracting file) containing: some .\ads\*.*
  56. %1\ads1 -d -o
  57. if errorlevel 1 goto perror
  58.  
  59. rem PKSFX (self-extracting file) containing: other .\ads\*.*
  60. %1\ads2 -d -o
  61. if errorlevel 1 goto perror
  62.  
  63. :isdisk4
  64. if exist %1\update4.mid goto disk4
  65. echo.
  66. echo Insert Disk 4 and
  67. pause
  68. goto isdisk4
  69. :disk4
  70.  
  71. rem PKSFX (self-extracting file) containing: .\fonts\*.pfb
  72. rem                                          .\fonts\*.shx
  73. rem                                          .\fonts\fontmap.ps
  74. rem                                          .\ads\win\*.*
  75. rem                                          .\ase\*.h 
  76. rem                                          .\igesfont\*.dwg
  77. %1\adsasefi -d -o
  78. if errorlevel 1 goto perror
  79.  
  80. rem PKSFX (self-extracting file) containing: .\support\acad*.*
  81. %1\sup2 -d -o
  82. if errorlevel 1 goto perror
  83.  
  84. echo Installation complete.
  85. goto exit
  86.  
  87. :perror
  88. echo Installation not complete.
  89.  
  90. :exit
  91. if exist %1\update4.mid goto disk4a
  92. echo.
  93. echo Insert Disk 4 and
  94. pause
  95. goto exit    
  96. :disk4a
  97. %1\cleanup
  98.